BitApps\FM\Providers\PermissionsProvider C

Total Complexity 106
Dependencies 6
Dependents 2
Total lines 461
Lines of code 302
Logical lines of code 131
Comment lines 42
Methods 41
Properties 5

Methods 41

Method Rating Maintainability Complexity Lines of code
getGuestPermissions()
A
53 8 25
getPermissions()
A
56 8 19
currentUserCanRun()
A
56 8 17
getPath()
S
56 7 17
getPublicRootPathByCriteria()
S
61 7 11
getDisabledCommand()
S
60 5 13
getEnabledCommand()
S
60 5 13
isRequestForAdminArea()
S
68 3 7
currentUserRole()
S
70 3 6
getURL()
S
69 3 6
currentUser()
S
70 3 6
getPathByFolderOption()
S
65 3 10
__construct()
S
60 2 13
allCommands()
S
59 1 17
getPublicRootURL()
S
73 2 5
getFolderOption()
S
78 2 3
isRequestForShortcode()
S
68 2 7
getUserDisplayName()
S
78 2 3
isCurrentRoleHasPermission()
S
69 2 7
isCurrentUserHasPermission()
S
69 2 7
currentUserID()
S
71 2 6
getPublicRootPath()
S
73 2 5
isCommonFolderEnabled()
S
78 2 3
mappedUsers()
S
66 2 8
isDisabledForAdmin()
S
75 2 4
getEnabledFileType()
S
76 2 4
getMaximumUploadSize()
S
75 2 4
defaultPermissions()
S
59 1 14
getPublicRootPathForRole()
S
79 1 3
getPublicRootPathForUser()
S
79 1 3
allRoles()
S
82 1 3
updatePermissionSetting()
S
79 1 3
allUsers()
S
82 1 3
permissionsForCurrentUser()
S
80 1 3
getDefaultPublicRootURL()
S
82 1 3
permissionsForCurrentRole()
S
80 1 3
getByRole()
S
79 1 3
getByUser()
S
79 1 3
refresh()
S
72 1 6
getDefaultPublicRootPath()
S
82 1 3
getVolumeAlias()
S
81 1 3